﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DetailReports.aspx.cs" Inherits="reports_DetailReports" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
 </head>
<body>
    <form id="form1" runat="server">
            <div id="details">
                <table cellpadding="0" cellspacing="0" style="width: 100%;">
                    <tr>
                        <td rowspan="3" id="report_results" runat="server" class="BgOrange" width="80%" valign="top">
                            &nbsp;
                        </td>
                        <td style="font: normal bold 9pt 'Arial Narrow'; border-bottom: solid 1px ButtonShadow;
                            border-top: solid 1px ButtonFace; padding: 5px 0px 0px 2px; width: 20%; background-color:ButtonFace" valign="bottom"
                            align="center" class="FgATT_Blue">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/images/Excel_icon.gif" ToolTip="Export Addresses to an Excel Spreadsheet"
                                 Style="float: right; padding-right: 4px; padding-bottom: 2px; cursor: pointer;" onclick="CreateExcelSheet()" />
                            <%= RollupTitle %><br />
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" style="background-color:ButtonFace">
                            <asp:Panel ID="pnlAddressList" runat="server" Width="100%" ScrollBars="Vertical">
                                <table style="width: 90%;">
                                    <tr>
                                        <td valign="top">
                                            <asp:GridView ID="grvAddressList" runat="server" Font-Names="Arial Narrow" AutoGenerateColumns="False"
                                                OnRowDataBound="AddressList_RowDataBound" CellPadding="0" BorderStyle="None"
                                                Font-Bold="true" GridLines="None" ShowHeader="False">
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblAddr" CssClass="lblAddr" runat="server" Text='<%# Eval("Addr") %>'
                                                                BackColor='<%# System.Drawing.ColorTranslator.FromHtml(Eval("Color").ToString()) %>'
                                                                Width="100%" Value='<%# Eval("ACCTS") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-family: Arial Narrow; font-weight: bold; border-bottom: solid 1px ButtonShadow;
                            border-top: solid 1px ButtonHighlight; padding: 2px; width: 20%;background-color:ButtonFace" valign="bottom">
                            <table cellpadding="0" cellspacing="0" style="width: 100%; border-bottom: solid 1px;
                                border-top: solid 1px ButtonHighlight">
                                <tr>
                                    <td style="background-color: #a4f368; font-family: Arial Narrow" align="center">
                                        <asp:CheckBox ID="chkEligible" runat="server" Text="ELIGIBLE" Checked="true" onclick="chkAddressType_Click()" /><br />
                                        <%= Addrs.CountGreen.ToString("n0")%>
                                    </td>
                                    <td style="background-color: #47CAFF; font-family: Arial Narrow" align="center">
                                        <asp:CheckBox ID="chkSubscriber" runat="server" Text="SUBSCRIBER" Checked="true"
                                            onclick="chkAddressType_Click()" /><br />
                                        <%=  Addrs.CountBlue.ToString("n0") %>
                                    </td>
                                    <td style="background-color: #FFFFFF; font-family: Arial Narrow" align="center">
                                        <asp:CheckBox ID="chkNonElig" runat="server" Text="NON-ELIG" Checked="true" onclick="chkAddressType_Click()" /><br />
                                        <%= Addrs.CountWhite.ToString("n0")%>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>

    </form>
</body>
</html>
